export default {
  toFormData: obj => {
    let str = ''
    for (const i in obj) {
      const value = typeof obj[i] === 'object' ? JSON.stringify(obj[i]) : obj[i]
      str += `${i}=${value}&`
    }
    return str.slice(0, str.length - 1)
  },
  delGroup: 2,
  sprintStatus: ['进行中', '已完成'],
  SUCCESS: 1,
  ERROR: 0
}
